DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GroupAsync Method / GroupAsync<T>(IDataCollection<T>,String[]) Method
The data collection.
The fields.

In This Topic
    GroupAsync<T>(IDataCollection<T>,String[]) Method
    In This Topic
    Groups the data collection according to the specified group fields.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GroupAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal ParamArray fields() As String _
    ) As Task
    public static Task GroupAsync<T>( 
       IDataCollection<T> dataCollection,
       params string[] fields
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    fields
    The fields.

    Type Parameters

    T
    See Also